package com.xingkeduo.dto.response;

import com.xingkeduo.pojo.enums.OrderStatus;
import com.xingkeduo.utils.TableAnnotations;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 发型师列表dto
 *
 * @author chi  2019-02-15 17:25
 **/
@Data
public class OrderAdminResponseDto {

    private long id;

    private LocalDateTime createdTime;

    @TableAnnotations("排队号")
    private String waitingLineNo;

    private String userId;

    @TableAnnotations("用户手机号")
    private String userMobile;

    @TableAnnotations("用户昵称")
    private String userNickName;

    @TableAnnotations("开始服务时间")
    private LocalDateTime serveStartTime;

    @TableAnnotations("结束服务时间")
    private LocalDateTime serveEndTime;

    @TableAnnotations("预约开始时间")
    private LocalDateTime appointmentStartTime;

    @TableAnnotations("预约结束时间")
    private LocalDateTime appointmentEndTime;

    @TableAnnotations("门店name")
    private String storeName;
    @TableAnnotations("门店id")
    private String storeId;

    @TableAnnotations("验票码")
    private String ticketCode;

    private OrderStatus status;

    private String statusName;
    private String serviceTypeName;
    private String gatheringTypeName;
    private String orderLabel;
    private String payTypeName;
    private String orderSourceName;

    private String adminId;
    private String adminName;
    private String adminNickName;

    private String appointmentAdminId;
    private String appointmentAdminName;
    private String appointmentAdminNickName;

    /**
     * 标签
     */
    private List<String> labels;

    private String orderNo;

    @TableAnnotations("发型师退款原因")
    private String refundReason;

    private String userHeadUrl;

    /**
     * 开始服务持续时间,秒数
     */
    private long serveLastSeconds;

    /**
     * 是否是免费卡
     */
    private Boolean freeCard;

    private String appointmentAdminMobile;

    private LocalDateTime payTime;
}
